# print(2**5)

# 用法1: 函数调用

# def print_info(name, age, gender):
#     print(name)
#     print(age)
#     print(gender)


# print_info("yuan", 18, "男")
# print_info(name="yuan", age=18, gender="男")

# 方式1
# data = {"name": "yuan", "age": 18, "gender": "男"}
# x = data.get("name")
# y = data.get("age")
# z = data.get("gender")
#
# # print_info(x, y, z)
# print_info(name=x, age=y, gender=z)

# 方式2
# data = {"name": "yuan", "age": 18, "gender": "男"}
#
# # **data  => name="yuan",age=18,gender="男"
# # **data 字典的解包（打散字典）
# print_info(**data)


# 方式3
# data = {"names": "yuan", "ages": 18, "genders": "男"}
# print_info(**data)
# print_info(names="yuan",ages=18,genders="男")







